package com.example.demo99.Entity.DTO;

public class OrderDto {
    private Integer userId;     // 用户 ID
    private Integer productId;  // 商品 ID
    private Integer quantity;   // 购买数量

    // getter 和 setter 方法
    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getProductId() {
        return productId;
    }

    public void setProductId(Integer productId) {
        this.productId = productId;
    }

    public Integer getQuantity() {
        return quantity;
    }

    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }
}